﻿package org.ilanchong.droidcontroller;

public class BroadCastCommand {	
	public static final String CMD_GET_IP_HOSTNAME = "cmd:getiphostname";
	
	private String mBroadCastIP = "";
	private int mPort = 20000;
	private String mCommand;
	
	public BroadCastCommand(String broadcast_ip, int port, String command){
		mBroadCastIP = broadcast_ip;
		mPort = port;
		mCommand = command;
	}
	
	public void setBroadCastIP(String broadcast_ip){
		mBroadCastIP = broadcast_ip;
	}
	
	public void setPort(int port){
		mPort = port;
	}
	
	public void setCommand(String command) {
		mCommand = command;
	}
	
	public String getBroadCastIP(){
		return mBroadCastIP;
	}
	
	public int getPort(){
		return mPort;
	}
	
	public String getCommand(){
		return mCommand;
	}
}
